/* 
 * File:   Result.h
 * Author: Denys Knertser
 *
 * Created on February 14, 2012, 2:16 PM
 */
#include "PacketFormat.h"
#include <openssl/md5.h>
#include <string>

#ifndef RESULT_H
#define	RESULT_H

class Result: public PacketFormat {
public:
    Result(std::string /*response_packet*/, std::string /*shared_secret*/, std::string /*client_challenge*/, char /*challenge_identifier*/);
private:
    bool success;
    char value_size;
    std::string value;
    std::string name;
    int checkResponse(std::string, std::string);
};

#endif	/* RESULT_H */

